package com.sxh.user.exception;

public class BaseException extends RuntimeException {
    public BaseException(String msg) {
        super(msg);
        System.err.println("异常: "+msg);
    }
    public static void cast(String errMessage){
        throw new BaseException(errMessage);
    }
}
